package com.common.baselibrary.request;

import java.io.IOException;

/**
 * @author Administrator QQ:316854001
 * @name azh
 * @class name：com.cpic.team.azh.utils.request
 * @class describe
 * @time 2019/8/12 15:36
 * @change
 * @chang time
 * @class describe
 */
public class ResultException extends IOException {
    private String errMsg;
    private int errCode;

    public ResultException(String errMsg, int errCode){
        this.errMsg = errMsg;
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }
}
